STEP 12: We have a table that shows the number of times each value appears. We can compare the experimental probability to the theoretical probability by developing a list of expected values based on the theoretic probability.

  • In LOGIC, click on . Drag out Empty List.
  • Rename it expected_vals.


To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)